package com.system.healthproject.model.sickuser.service;

import com.system.healthproject.bean.SickOneIsLivePatientActivity;
import com.system.healthproject.bean.SickOnePatientActivityBean;
import com.system.healthproject.bean.SickSignUpPatientActivityBean;
import com.system.healthproject.bean.SickUpPatientActivityBean;
import com.system.healthproject.pojo.PatientActivity;
import com.system.healthproject.pojo.PatientActivitySignUp;

import java.util.List;

/**
 * @author Xuheng Zhou
 * @date 2020/6/14 15:44
 * @desc
 */
public interface SickPatientActivityService {
    Integer selectPatientIdByLoginId(Integer loginId);

    List<SickUpPatientActivityBean> selectPatientIdPatientActivity(Integer patientId, Integer page, Integer size);

    List<SickSignUpPatientActivityBean> selectPatientIdSignUpPatientActivity(Integer patientId, Integer page, Integer size);

    SickOnePatientActivityBean selectSickOnePatientActivity(Integer patientactivityId);


    boolean SickSignUpPatientActivity(Integer patientId, Integer patientactivityId);

    SickOneIsLivePatientActivity selectSickOneIsLivePatientActivity(Integer patientactivityId);

    PatientActivitySignUp selectPatientActivitySignUpIsNull(Integer patientactivityId, Integer patientId);

    PatientActivity checkPatientActivity(Integer patientactivityId);
}
